Release 10.1A: OpenEdge Development:
ADM Reference
rowValues
Retrieves a list of data from all rows in the DataObject.
Location: data.p Parameters:INPUT pcColumns AS CHARACTERComma-separated list of RowObject column names.
INPUT pcFormat AS CHARACTERThe following formatting options available for the data:
- blank or ? — Unformatted: columnValue().
- Formatted — Formatted without trailing blanks.
- TrimNumeric — Formatted without leading spaces for numeric data (left justified).
- NoTrim — Formatted with leading and trailing blanks.
- &1 &2 &n — A free form format where the number references the column in pcColumns order and indicates that the column values should be substituted as specified instead of returned as delimiter separated values.
This allows formatting data to be mixed with the returned values. For example, F.ex: '&2 (&1)', '&2 / &1' and so on. To build a list-item-pair list, you must ensure that the delimiter is in the format; F. ex: '&2 (&1)' + ',' + '&1' where ',' is also passed as a delimiter and would return a paired list where the second item of the pair is column number one.
INPUT pcDelimiter AS CHARACTERA single char delimiter that can be one of the following:
- Intended for use by SmartSelect or other nonbrowser objects that need to show all rows of the SmartDataObject (SDO).
- Should not be used with large amounts of data since all data needs to fit in the return value.
- A maximum of nine columns can be passed when a substitute format is specified.
- This function reads all data without publishing dataAvailable to its data-targets. However, if the query is browsed, dataAvailable publishes to its data-targets when reposition-to-rowid is executed to return to the current record.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |